import redis


class MyRedis:
    def __init__(self, key, **kwargs):
        self.__db = redis.Redis()
        self.key = key

    def set(self, value):
        self.__db.set(self.key, value)

    def get(self):
        return self.__db.get(self.key)